﻿@namespace BootstrapBlazor.Components
@inherits ValidateFormBase

<CascadingValue Value="this">
    <EditForm Model="@Model" @attributes="@AdditionalAttributes" id="@Id" OnSubmit="@OnSubmit" OnValidSubmit="@OnValidSubmit" OnInvalidSubmit="@OnInvalidSubmit">
        <BootstrapBlazorDataAnnotationsValidator />
        @ChildContent
    </EditForm>
</CascadingValue>
